package org.jeecg.modules.car.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.entity.car.CarModel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 车场车型表
 * @Author: jeecg-boot
 * @Date:   2020-09-30
 * @Version: V1.0
 */
public interface ICarModelService extends IService<CarModel> {

    List<CarModel> findPage(Page<CarModel> page, CarModel carModel);

    void batchSaveOrUpdate(List<CarModel> carModelList);

    List<CarModel> queryCarModelByParkId(String parkId);

    List<CarModel> findByProject(String projectId);

    CarModel getByModelId(String modelId);
}
